package com.genshang.restaurant;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;


@SpringBootApplication(scanBasePackages = {"com.genshang.restaurant", "com.genshang.restaurant.controller",
        "com.genshang.restaurant.impl", "com.genshang.restaurant.util", "com.genshang.restaurant.config","com.genshang.restaurant"},
        exclude={DataSourceAutoConfiguration.class}
        )
@MapperScan(basePackages = "com.genshang.restaurant.mapper")
public class CrmPortalApplication {
    public static void main(String[] args) {
        SpringApplication.run(CrmPortalApplication.class, args);
    }
}

